// ioctl.h

#ifndef _IOCTL_h
#define _IOCTL_h

#if defined(ARDUINO) && ARDUINO >= 100
	#include "arduino.h"
#else
	#include "WProgram.h"
#endif
enum led_state_t
{
	LED_OFF = 0,
	LED_SHINE_ONCE,
	LED_SHINE_TWICE,
	LED_SHINE_THIRD,
	LED_SHINE_LONG_ONCE,
	LED_ON
};
enum lock_state_t
{
	LOCK_OPEDED = 0,
	LOCK_CLOSED
};
void Green_Light_Init(void);
void Green_Light_On(void);
void Green_Light_Off(void);

void Lock_Init(void);
void Lock_Open(void);
void Lock_Close(void);
bool Lock_Check(void);
#endif

